package com.txts.road.app.user.model.entity;

import lombok.Getter;
import lombok.Setter;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableName;
import com.txts.road.app.common.base.BaseEntity;

/**
 * 第三方登录实体对象
 *
 * @author baoyr
 * @since 2025-07-17 10:43
 */
@Getter
@Setter
@TableName("road_t_user_third_auth")
public class UserThirdAuthEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 第三方类型：1-微信，2-QQ
     */
    private Integer thirdType;
    /**
     * 第三方用户ID
     */
    private String thirdUserId;
    /**
     * 第三方昵称
     */
    private String thirdNickname;
    /**
     * 第三方头像
     */
    private String thirdAvatar;
    /**
     * 创建时间
     */
    private LocalDateTime createdTime;
}
